<?php
/**
 * IG_Observable
 *
 * @author maomao.thx@gmail.com
 * @copyright Copyright (c) 2009 Green Shore (http://www.iwgame.com)
 * @version $Id: Observable.php 524 2011-05-24 01:44:20Z mmxie $
 */
interface IG_Observable
{
    public function attach(IG_Observer $observer);

    public function detach(IG_Observer $observer);

    public function notify();

    public function getState();

    public function setState();
}